package com.fengchao.api.dao.svy;


import com.fengchao.api.dao.BaseMapper;
import com.fengchao.model.svy.SvyUserWishRequest;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface SvyUserWishRequestMapper extends BaseMapper<SvyUserWishRequest> {

    /**
     * 根据uerId和艺人id和城市id和时间查询
     *
     * @return
     */
    SvyUserWishRequest findByUserIdAndWishArtistIdAndWishCityIdAndDate(@Param("userId") Integer userId, @Param("wishArtistId") Integer wishArtistId, @Param("wishCityId") Integer wishCityId, @Param("wishTime") Date wishTime);

}